#ifndef __MAIN_H_
#define __MAIN_H_


#include "FreeRTOS.h"
#include "Task.h"
#include "watchdog.h"
#include "SVS_Meter.h"
#include "SVS_Systime.h"
#include "APP_Charging.h"
#include "DRV_Main.h"

typedef enum{
    TASK_ID_MAIN=0,
    TASK_ID_EC600,
    TASK_ID_RB,
    TASK_ID_MAX
}TASK_ID_EN;

typedef struct {
    TASK_ID_EN id;
    TaskFunction_t task;
    char *name;
    uint16_t stacksize;
    UBaseType_t pri;
    TaskHandle_t handle;
    U8 enCreate;
    U8 feedWdg;
}TASK_PARA_T;

extern TASK_PARA_T task_tbl[TASK_ID_MAX];

#endif

